package D20191203.Ljs1;

public interface Inter {
    void show();
}

class Outer{
    public static Inter method(){
        Inter i = new Inter(){
            public void show(){
                System.out.println("Hello World");
            }
        };
    return i;
    }
}

class OuterDemo {
    public static void main(String[] args) {
        Outer.method().show();
    }
}
